﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using QLKS2014.DATA;
using QLKS2014.PUBLIC;

namespace QLKS2014.BLL
{
    public class PhieuThuePhongBll
    {
        PhieuThuePhongData phieuThuePhongData = new PhieuThuePhongData();
        //Thêm Phieu Thue Phong
        public void insert(PhieuThuePhongPublic phieuThuePhongPublic)
        {
            phieuThuePhongData.insert(phieuThuePhongPublic);
        }

        public List<PhieuThuePhongPublic> selectAll()
        {
            return phieuThuePhongData.selectAll();
        }

        public List<PhieuThuePhongPublic> selectByMaxMaPhieuThue(PhieuThuePhongPublic phieuThuePhongPublic)
        {
            return phieuThuePhongData.selectByMaxMaPhieuThue(phieuThuePhongPublic);
        }
        public List<PhieuThuePhongPublic> selectByMaxMaPhieuThue_Tmp(PhieuThuePhongPublic phieuThuePhongPublic)
        {
            return phieuThuePhongData.selectByMaxMaPhieuThue_Tmp(phieuThuePhongPublic);
        }

    }
}
